<?php
if (! defined ( 'PHPUnit_MAIN_METHOD' )) {
	define ( 'PHPUnit_MAIN_METHOD', 'CRMAllTests::main' );
}

require_once 'CRMTestConfig.php';
require_once 'CRMTestHelper.php';
require_once 'asterisk/CRMAsteriskAllTests.php';

final class CRMAllTests {
	static public function main() {
		$params = array ();
		PHPUnit_TextUI_TestRunner::run ( self::suite (), $params );	
	}
	static public function suite() {
		$suite = new PHPUnit_Framework_TestSuite ( 'little CRM library Tests' );
		$suite->addTest ( CRMAsteriskAllTests::suite () );
		return $suite;
	}
}

if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
	CRMAllTests::main ();
}

?>